package com.hejun.bos.service.base;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import com.hejun.bos.domain.base.Area;

public interface AreaService {
	/**
	 * 批量导入区域
	 * @param list
	 */
	void save(List<Area> list);
	/**
	 * 条件分页查询
	 * @param specification
	 * @param pageable
	 * @return
	 */
	Page<Area> findAll(Specification<Area> specification, Pageable pageable);

}
